<html>
<body>
<p>Reports method definitions with procedure syntax.</p>
<p>It is not recommended for developers to use procedure-like syntax for methods.
  It is inconsistent, may lead to errors, and will be removed in Scala 3.</p>
<p>The quick-fix converts the definition from procedure syntax to function syntax.</p>
<p><b>Example:</b></p>
<pre><code>
  class Test {
    def method() { }
  }
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  class Test {
    def method(): Unit = { }
  }
</code></pre>
<!-- tooltip end -->
<p><em>Hint:</em> You can use Analyze / Run Inspection by Name (Ctrl+Alt+Shift+I) to apply this inspection to the whole
  project.</p>
</body>
</html>